﻿using Castle.Windsor;
using Castle.Windsor.Installer;

namespace CoreComponents
{
    public class ContainerInitializer
    {
        private static readonly IWindsorContainer Container; 
        static ContainerInitializer()
        {
            Container = new WindsorContainer();
            Container.Install(FromAssembly.This());
        }

        public static void Initialize() { }
        public static IWindsorContainer WContainer { get { return Container; } }
    }
}
